<!DOCTYPE html>
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width">
  <title>MathJax v3 with custom TeX extension</title>
  <script src="https://polyfill.io/v3/polyfill.min.js?features=es6"></script>
  <script>
  MathJax = {
    loader: {
      load: ['[custom]/mml.min.js'],
      paths: {custom: '.'}
    },
    tex: {
      packages: {'[+]': ['mml']}
    }
  };
  </script>
  <script id="MathJax-script" async src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-chtml.js"></script>
</head>
<body>

$$abc + \mi{abc} \mo{++} x ++ y$$

$$\ms{Hello world!}$$

$$\mn{\u2460\u2461\u2462}$$

$$
  \mi[mathcolor=red]{x}
  \mi[mathvariant="bold"]{A}
  \ms[lquote="\u00AB", rquote="\u00BB"]{x}
  \mi[data-my-attribute="anything"]{x}
$$

$$\mi[bad="bad"]{x}$$


</body>
</html>